package com.guoshengdeu.door.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yfly
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Article对象", description="")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "序号")
    private Integer articleId;

    @ApiModelProperty(value = "文章标题")
    private String articleName;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "所属菜单(数据来源于菜单管理)")
    private String menuBelong;

//    @ApiModelProperty(value = "发布日期")
//    private LocalDateTime issueTime;

    @ApiModelProperty(value = "状态，0：封禁，1：正常（默认正常）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatetime;

    @ApiModelProperty(value = "是否删除（默认0：删除，1：存在）")
    private String isDelete;

    @ApiModelProperty(value = "文章内容")
    private String articleContent;


}
